#include <stdlib.h>
#include <stdio.h>
#include "deelx.h"
extern "C" char RegMatch(char *aTextCString,char *aRegExpCString)
{

	CRegexpT<char> prodRegexpT;
	char result;
	result=0;
	if(aTextCString&&aRegExpCString)
	{
			 prodRegexpT.Compile(aRegExpCString);
       MatchResult matchResult = prodRegexpT.Match(aTextCString);
       result=(char)(matchResult.IsMatched());
	}
	return result;
}